package com.sscw.tcp.dao;

import com.guaike.core.mybatis.plugins.BaseDAO;
import com.sscw.tcp.entity.UAppUserEquityPO;
import com.sscw.tcp.mapper.UAppUserEquityExtMapper;
import com.sscw.tcp.mapper.UAppUserEquityMapper;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Repository;


@Repository
@AllArgsConstructor
public class UAppUserEquityDAO extends BaseDAO<UAppUserEquityMapper, UAppUserEquityPO> {

    private final UAppUserEquityExtMapper uAppUserEquityExtMapper;

    public int addPinecone(Long userId, Integer pinecone) {
        return uAppUserEquityExtMapper.addPinecone(userId, pinecone);
    }
}
